package com.android.webttest.model;

import java.util.List;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class GoodCommentsPro extends GoodComments {
    // Getter 和 Setter 方法
    private List<GoodComments> subGoodComments;

    // 构造函数：接受父类字段并初始化子类字段
    public GoodCommentsPro(GoodComments goodComments, List<GoodComments> subGoodComments) {
        super(goodComments); // 调用父类的拷贝构造函数
        this.subGoodComments = subGoodComments;
    }

}